package org.example.myleet.p1232;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.checkStraightLine(new int[][]{{1,2},{2,3},{3,4},{4,5},{5,6},{6,7}}));
        Assert.isTrue(!solution.checkStraightLine(new int[][]{{1,1},{2,2},{3,4},{4,5},{5,6},{7,7}}));
        Assert.isTrue(solution.checkStraightLine(new int[][]{{1,1},{1,2},{1,4},{1,5}}));
        Assert.isTrue(!solution.checkStraightLine(new int[][]{{1,1},{2,2},{1,4},{1,5}}));
    }
}
